PKG_NAME = iperf2
PKG_VERS = 2.0.13
PKG_EXT = tar.gz
PKG_NAME_REAL = iperf
PKG_DIST_NAME = $(PKG_NAME_REAL)-$(PKG_VERS).$(PKG_EXT)/download
PKG_DIST_SITE = https://sourceforge.net/projects/$(PKG_NAME)/files
PKG_DIST_FILE = $(PKG_NAME_REAL)-$(PKG_VERS).$(PKG_EXT)
PKG_DIR = $(PKG_NAME_REAL)-$(PKG_VERS)

DEPENDS =

HOMEPAGE = https://sourceforge.net/projects/iperf2/
COMMENT  = A tool for measuring TCP and UDP network performance, based on iperf 2.0.5.
LICENSE  = 

GNU_CONFIGURE = 1

POST_INSTALL_TARGET = iperf2_post_install


include ../../mk/spksrc.cross-cc.mk

.PHONY: iperf2_post_install
iperf2_post_install:
	cd $(STAGING_INSTALL_PREFIX)/bin; ln -s ./iperf ./iperf2
